package rpc.frame.core.provider;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

@Data
@Builder
public class ServiceProvider implements Serializable {

    private String serverName; //服务端的名称
    private String serverIp; //服务端的IP

    private int rpcPort; //通信端口

    private int netWorkPort;

    private Long timeOut; //超时时间

    private int weight; //权重
}
